package com.example.oasystem.dao.attachment;

import com.example.oasystem.entity.attachment.AoaAttachmentListOfl;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AoaAttachmentListDaoOfl {
    int deleteByPrimaryKey(Long attachmentId);

    int insert(AoaAttachmentListOfl record);

    int insertSelective(AoaAttachmentListOfl record);

    AoaAttachmentListOfl selectByPrimaryKey(Long attachmentId);

    int updateByPrimaryKeySelective(AoaAttachmentListOfl record);

    int updateByPrimaryKey(AoaAttachmentListOfl record);

    @Select("select*from aoa_attachment_list")
    List<AoaAttachmentListOfl>attachment();
}